@extends('admin.layouts._menu')
@section('content')
    <form action="{{route('admin.role.store')}}" method="post">
        @csrf
        <div class="card">
            <div class="card-body">
                <ul class="nav nav-tabs nav-overflow header-tabs">
                    <li class="nav-item">
                        <a href="{{route('admin.role.index')}}" class="nav-link pb-3 ">
                            角色列表
                        </a>
                    </li>
                    <li class="nav-item">
                        <a href="{{route('admin.role.create')}}" class="nav-link pb-3 active">
                            添加角色
                        </a>
                    </li>
                </ul>
                </ul>
            </div>
            <div class="card-body">
                <div class="form-group">
                    <label>角色名称</label>
                    <input type="text" class="form-control" name="title" value="{{old('title')}}">
                </div>
                <div class="form-group">
                    <label>角色标识</label>
                    <input type="text" class="form-control" name="name" value="{{old('name')}}">
                    <small id="helpId" class="text-muted">角色标识只允许添加不允许编辑</small>
                </div>
            </div>
            <div class="card-footer text-muted">
                <button class="btn btn-primary btn-sm">保存提交</button>
            </div>
        </div>
    </form>
@endsection
